gtkcontainer: Guard internal use of deprecated public API
authorColomban Wendling <ban@herbesfolles.org>
Sun, 1 Nov 2015 01:35:09 +0000 (02:35 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 1 Nov 2015 01:42:36 +0000 (02:42 +0100)
gtk/gtkcontainer.c

index 87f22c669ca2653654699fe40f4c5894f299ed9e..3cc20ebdbda23ae739fe6d98b576dcf6d605c62d 100644 (file)
@@ -2107,8 +2107,10 @@ _gtk_container_queue_restyle (GtkContainer *container)
 void
 _gtk_container_maybe_start_idle_sizer (GtkContainer *container)
 {
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
   if (!GTK_IS_RESIZE_CONTAINER (container))
     return;
+G_GNUC_END_IGNORE_DEPRECATIONS;
 
   if (container->priv->restyle_pending || gtk_widget_needs_allocate (GTK_WIDGET (container)))
     gtk_container_start_idle_sizer (container);